import { request } from '@/utils/request.js'

export default {
  getList: (params) => request({ url: '/admin/community/communityList', method: 'POST', data: params }),
  update: (params) => request({ url: '/admin/community/communityEdit', method: 'POST', data: params }),
  // 团长申请列表
  applyList: (params) => request({ url: '/admin/community/communityAutoList', method: 'POST', data: params }),
  // 审核通过
  pass: (params) => request({ url: '/admin/community/communityAuto', method: 'POST', data: params }),
  // 支付日志列表
  payLogList: (params) => request({ url: '/admin/rechargeWithdraw/rechargeList', method: 'POST', data: params }),
  // 退款记录列表
  refundLogList: (params) => request({ url: '/admin/rechargeWithdraw/refundLog', method: 'POST', data: params }),
  // 退款审核
  refundAudit: (params) => request({ url: '/admin/rechargeWithdraw/refundHandle', method: 'POST', data: params }),
  // 投诉列表
  complaintList: (params) => request({ url: '/admin/complain/complainList', method: 'POST', data: params }),
  // 投诉审核
  complaintAudit: (params) => request({ url: '/admin/complain/complainAuto', method: 'POST', data: params }),
}